package com.ruoyi.ruoyiserver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 频道对象 fusun_channel
 *
 * @author ruoyi
 * @date 2025-01-17
 */
public class FusunChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 访问接入类型 （1 rtsp 2、国标 3、rtmp 4、下级平台 5、代理 6、onvif）  */
    @Excel(name = "访问接入类型 ", readConverterExp = "1=,r=tsp,2=、国标,3=、rtmp,4=、下级平台,5=、代理,6=、onvif")
    private Long accessMethod;

    /** 通道国标编码 */
    @Excel(name = "通道国标编码")
    private String channelCode;

    /** 通道名称 */
    @Excel(name = "通道名称")
    private String channelName;

    /** 通道编号  */
    @Excel(name = "通道编号 ")
    private String deviceChannelId;

    /** 设备国标编码 */
    @Excel(name = "设备国标编码")
    private String deviceCode;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 是否在线 1在线 2 离线 */
    @Excel(name = "是否在线 1在线 2 离线")
    private Long onlineState;

    /** 是否支持云台（0.未设置 1.是 2.否） */
    @Excel(name = "是否支持云台", readConverterExp = "0=.未设置,1=.是,2=.否")
    private String supportPtz;

    /** 是否对其进行了修改(0否，1是,修改之后 同步数据的时候就不能覆盖) */
    @Excel(name = "是否对其进行了修改(0否，1是,修改之后 同步数据的时候就不能覆盖)")
    private Long fusunIsUpdate;

    /** 自定义标题 */
    @Excel(name = "自定义标题")
    private String funsunChannelTitle;

    /** 是否上架：0否 1是 */
    @Excel(name = "是否上架：0否 1是")
    private Long fusunStatus;

    /** 视频封面 */
    @Excel(name = "视频封面")
    private String fusunImg;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAccessMethod(Long accessMethod)
    {
        this.accessMethod = accessMethod;
    }

    public Long getAccessMethod()
    {
        return accessMethod;
    }
    public void setChannelCode(String channelCode)
    {
        this.channelCode = channelCode;
    }

    public String getChannelCode()
    {
        return channelCode;
    }
    public void setChannelName(String channelName)
    {
        this.channelName = channelName;
    }

    public String getChannelName()
    {
        return channelName;
    }
    public void setDeviceChannelId(String deviceChannelId)
    {
        this.deviceChannelId = deviceChannelId;
    }

    public String getDeviceChannelId()
    {
        return deviceChannelId;
    }
    public void setDeviceCode(String deviceCode)
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode()
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName)
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName()
    {
        return deviceName;
    }
    public void setOnlineState(Long onlineState)
    {
        this.onlineState = onlineState;
    }

    public Long getOnlineState()
    {
        return onlineState;
    }
    public void setSupportPtz(String supportPtz)
    {
        this.supportPtz = supportPtz;
    }

    public String getSupportPtz()
    {
        return supportPtz;
    }
    public void setFusunIsUpdate(Long fusunIsUpdate)
    {
        this.fusunIsUpdate = fusunIsUpdate;
    }

    public Long getFusunIsUpdate()
    {
        return fusunIsUpdate;
    }
    public void setFunsunChannelTitle(String funsunChannelTitle)
    {
        this.funsunChannelTitle = funsunChannelTitle;
    }

    public String getFunsunChannelTitle()
    {
        return funsunChannelTitle;
    }
    public void setFusunStatus(Long fusunStatus)
    {
        this.fusunStatus = fusunStatus;
    }

    public Long getFusunStatus()
    {
        return fusunStatus;
    }
    public void setFusunImg(String fusunImg)
    {
        this.fusunImg = fusunImg;
    }

    public String getFusunImg()
    {
        return fusunImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accessMethod", getAccessMethod())
            .append("channelCode", getChannelCode())
            .append("channelName", getChannelName())
            .append("deviceChannelId", getDeviceChannelId())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("onlineState", getOnlineState())
            .append("supportPtz", getSupportPtz())
            .append("fusunIsUpdate", getFusunIsUpdate())
            .append("funsunChannelTitle", getFunsunChannelTitle())
            .append("fusunStatus", getFusunStatus())
            .append("fusunImg", getFusunImg())
            .append("createTime", getCreateTime())
            .toString();
    }
}
